<ng-container>
  <ng-template #contentTemplate>
    <div class="tooltipContent">
      <i
        nz-icon
        nzType="exclamation-circle"
        nzTheme="outline"
        class="errorIcon"
        [ngStyle]="{ color: color }"
      ></i>
      <p>
        {{ text }}
      </p>
    </div>
  </ng-template>
  <i
    nz-popover
    nzPlacement="bottom"
    [ngStyle]="{ color: color }"
    [nzContent]="contentTemplate"
    nz-icon
    nzType="exclamation-circle"
    nzTheme="outline"
    class="errorTip"
  ></i>
</ng-container>
